package com.ym.b2b.payment.service;

import org.springframework.dao.DataAccessException;

import com.ym.b2b.commons.exception.BaseException;
import com.ym.b2b.payment.sqlbean.EmSPayment;
import com.ym.b2b.payment.vo.PaymentBean;
import com.zc.commons.base.Page;
import com.zc.commons.base.Result;

/**
 * @ClassName: EmSPaymentService
 * @Description: TODO
 * @Author tangxj
 * @Date 2015-4-2 上午10:54:11
 * @Modify
 * @CopyRight B2B小组
 */

public interface EmSPaymentService {

    public Result doPayBefore(PaymentBean s) throws BaseException;

    public Result searchPageEmSPayment(Page<EmSPayment> page, EmSPayment emSPayment) throws DataAccessException;

    public Result insertEmSPayment(EmSPayment emSPayment) throws DataAccessException;

    public Result updateEmSPayment(EmSPayment emSPayment) throws DataAccessException;

}
